package com.wechat.demowechat;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class DemoWechatApplication {

    public static void main(String[] args) {


//        Wechaty bot = Wechaty.instance()
//            .onScan((qrcode, statusScanStatus, data) -> System.out.println(QrcodeUtils.getQr(qrcode)))
//            .onLogin(user -> System.out.println("User logged in :" + user))
//            .onMessage(message -> System.out.println("Message:" + message))
//            .start(true);

        SpringApplication.run(DemoWechatApplication.class, args);
    }

}
